<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>聚学院-行业资讯</title>
    <link rel="stylesheet" href="../../lib/css/reset.min.css">
    <link rel="stylesheet" href="../../css/all.min.css">

</head>

<body>
    <div class="app-wrap" v-cloak id="jxy_zixun">
        <header-top :loginname="loginName"></header-top>
        <header-search-global type="企业"></header-search-global>
        <common-top-nav cur="聚学院"></common-top-nav>
        <div class="container pb-20">
            <common-crumb :crumblist="crumblist"></common-crumb>
            <!-- 广告位 -->
            <div class="jxy-zixun-adv mt-20">
                <div class="img-wrap img1 mr-20" v-for="item,index in bannerlist" v-if="index==0">
                    <a :href="item.link"><img :src="item.picUrl"></a>
                </div>
                <div>
                    <div class="img-wrap img2 mb-20" v-for="item,index in bannerlist" v-if="index==1">
                        <a :href="item.link"><img :src="item.picUrl"></a>
                    </div>
                    <div class="img-wrap img2" v-for="item,index in bannerlist" v-if="index==2">
                        <a :href="item.link"><img :src="item.picUrl"></a>
                    </div>
                </div>
            </div>
            <div class="jxy-zixun-wrap">
                <div class="zixun-head">
                    <button @click="changeType(1)" class="btn" :class="{'active':zixuntype==1}">行业资讯</button>
                    <button @click="changeType(2)" class="btn" :class="{'active':zixuntype==2}">学院头条</button>
                </div>
                <ul class="zixun-list">
                    <li v-for="item in list">
                        <div class="img-wrap" style="overflow: hidden">
                            <a :href="'zixun_detail.html?'+item.id"><img v-for="pic,index in item.picUrl" :src="pic.fileUrl" v-if="index<1"></a>
                        </div>
                        <div class="right-wrap">
                            <a :href="'zixun_detail.html?'+item.id">
                                <p class="title">{{item.title}}</p>
                            </a>
                            <div class="desc">{{item.content| subcontent}}</div>
                            <div class="view-wrap">
                                <span>
                                    <img :src="item.toux" class="toux">
                                    {{item.createTime1}}</span>
                                <span>
                                    <i class="icon-view"></i>
                                    {{item.visitNumber}}人看过</span>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
            <common-page :current="pageNo" :all="total" @btn-click="getPage"></common-page>
        </div>
        <common-footer></common-footer>
    </div>
    <script src="../../lib/js/vue.js"></script>
    <script src="../../lib/js/axios.min.js"></script>
    <!-- mock 数据 打包发布的时候记得移除 -->
    <script src="../../lib/js/mock.js"></script>
    <script src="../../js/all.min.js"></script>
    <script>
        jxy_zixun();
    </script>
</body>

</html>